package com.indexingsystem.db.mongoDB.po;

import java.util.List;

import com.indexingsystem.boss.entity.ArticleContents;
import com.indexingsystem.boss.entity.Articles;
import com.indexingsystem.boss.entity.AuditLogs;
import com.indexingsystem.boss.entity.DhResourceauditlogs;
import com.indexingsystem.boss.entity.DhTodayStorageInfos;
import com.indexingsystem.boss.entity.Magazines;
import com.indexingsystem.boss.entity.ResCategoryRelations;
import com.indexingsystem.boss.entity.ResourceRelations;
import com.indexingsystem.boss.entity.Resources;
import com.indexingsystem.boss.entity.SpecialResourceDatas;
import com.indexingsystem.boss.entity.Videos;

/**
 * 文章存储mongo结构实体.
 * 
 * @author Administrator
 * 
 */
public class VideosResourceMongoVo {

	private String						resId;

	private String						resTypeId;

	private String						resTable;

	private Videos						videos;

	private Resources					resources;

	private DhResourceauditlogs			resourceauditlogs;

	private AuditLogs					auditLogs;

	private DhTodayStorageInfos			todayStorageInfos;

	private List<SpecialResourceDatas>	dhSpecialResourceDatasList;

	private List<ResourceRelations>		dhResourceRelationsList;

	private List<ResCategoryRelations>	resCategoryRelationsList;

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public String getResTypeId() {
		return resTypeId;
	}

	public void setResTypeId(String resTypeId) {
		this.resTypeId = resTypeId;
	}

	public String getResTable() {
		return resTable;
	}

	public void setResTable(String resTable) {
		this.resTable = resTable;
	}

	public Videos getVideos() {
		return videos;
	}

	public void setVideos(Videos videos) {
		this.videos = videos;
	}

	public Resources getResources() {
		return resources;
	}

	public void setResources(Resources resources) {
		this.resources = resources;
	}

	public DhResourceauditlogs getResourceauditlogs() {
		return resourceauditlogs;
	}

	public void setResourceauditlogs(DhResourceauditlogs resourceauditlogs) {
		this.resourceauditlogs = resourceauditlogs;
	}

	public AuditLogs getAuditLogs() {
		return auditLogs;
	}

	public void setAuditLogs(AuditLogs auditLogs) {
		this.auditLogs = auditLogs;
	}

	public DhTodayStorageInfos getTodayStorageInfos() {
		return todayStorageInfos;
	}

	public void setTodayStorageInfos(DhTodayStorageInfos todayStorageInfos) {
		this.todayStorageInfos = todayStorageInfos;
	}

	public List<SpecialResourceDatas> getDhSpecialResourceDatasList() {
		return dhSpecialResourceDatasList;
	}

	public void setDhSpecialResourceDatasList(List<SpecialResourceDatas> dhSpecialResourceDatasList) {
		this.dhSpecialResourceDatasList = dhSpecialResourceDatasList;
	}

	public List<ResourceRelations> getDhResourceRelationsList() {
		return dhResourceRelationsList;
	}

	public void setDhResourceRelationsList(List<ResourceRelations> dhResourceRelationsList) {
		this.dhResourceRelationsList = dhResourceRelationsList;
	}

	public List<ResCategoryRelations> getResCategoryRelationsList() {
		return resCategoryRelationsList;
	}

	public void setResCategoryRelationsList(List<ResCategoryRelations> resCategoryRelationsList) {
		this.resCategoryRelationsList = resCategoryRelationsList;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((resId == null) ? 0 : resId.hashCode());
		result = prime * result + ((resTable == null) ? 0 : resTable.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		VideosResourceMongoVo other = (VideosResourceMongoVo) obj;
		if (resId == null) {
			if (other.resId != null)
				return false;
		} else if (!resId.equals( other.resId ))
			return false;
		if (resTable == null) {
			if (other.resTable != null)
				return false;
		} else if (!resTable.equals( other.resTable ))
			return false;
		return true;
	}

	public VideosResourceMongoVo() {
		super();
	}

	public VideosResourceMongoVo(String resId, String resTypeId, String resTable, Videos videos, Resources resources,
			DhResourceauditlogs resourceauditlogs, AuditLogs auditLogs, DhTodayStorageInfos todayStorageInfos,
			List<SpecialResourceDatas> dhSpecialResourceDatasList, List<ResourceRelations> dhResourceRelationsList,
			List<ResCategoryRelations> resCategoryRelationsList) {
		super();
		this.resId = resId;
		this.resTypeId = resTypeId;
		this.resTable = resTable;
		this.videos = videos;
		this.resources = resources;
		this.resourceauditlogs = resourceauditlogs;
		this.auditLogs = auditLogs;
		this.todayStorageInfos = todayStorageInfos;
		this.dhSpecialResourceDatasList = dhSpecialResourceDatasList;
		this.dhResourceRelationsList = dhResourceRelationsList;
		this.resCategoryRelationsList = resCategoryRelationsList;
	}

	@Override
	public String toString() {
		return "VideosResourceMongoVo [resId=" + resId + ", resTypeId=" + resTypeId + ", resTable=" + resTable + ", videos=" + videos
				+ ", resources=" + resources + ", resourceauditlogs=" + resourceauditlogs + ", auditLogs=" + auditLogs + ", todayStorageInfos="
				+ todayStorageInfos + ", dhSpecialResourceDatasList=" + dhSpecialResourceDatasList + ", dhResourceRelationsList="
				+ dhResourceRelationsList + ", resCategoryRelationsList=" + resCategoryRelationsList + "]";
	}
}